Skip to content

[pull] master from php:master#781

Merged
pull[bot] merged 7 commits intoturkdevops:masterfrom
php:master
Mar 13, 2026
Merged

[pull] master from php:master#781
pull[bot] merged 7 commits intoturkdevops:masterfrom
php:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 13, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

iliaal and others added 7 commits March 12, 2026 21:53
openssl_pkey_new() checks private_key_bits >= 384 before generating any
key. For EC, X25519, ED25519, X448, and ED448 the size is inherent to
the curve or algorithm, so this check doesn't apply and causes failures
when default_bits is missing from openssl.cnf (which is the case in
OpenSSL 3.6's default config).

Skip the minimum-bits check for key types that don't use private_key_bits.

Closes GH-21387.
* PHP-8.4:
  Fix GH-21083: Skip private_key_bits validation for EC/curve-based keys
* PHP-8.5:
  Fix GH-21083: Skip private_key_bits validation for EC/curve-based keys
* PHP-8.4:
  [ci skip] NEWS for GH-20838
* PHP-8.5:
  [ci skip] NEWS for GH-20838
@pull pull bot added the ⤵️ pull label Mar 13, 2026
@pull pull bot merged commit 5ccaccd into turkdevops:master Mar 13, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants